package GUI;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

/**
 * @ClassName : WindowListener
 * @Author : LV88VL
 * @Date: 2021/3/15 18:14
 * @Description : 通过WindowListener来体现适配器方法
 */
public class WindowListenerDemo  {
    WindowListener a = new WindowListener() {
        @Override
        public void windowOpened(WindowEvent e) {

        }

        @Override
        public void windowClosing(WindowEvent e) {

        }

        @Override
        public void windowClosed(WindowEvent e) {

        }

        @Override
        public void windowIconified(WindowEvent e) {

        }

        @Override
        public void windowDeiconified(WindowEvent e) {

        }

        @Override
        public void windowActivated(WindowEvent e) {

        }

        @Override
        public void windowDeactivated(WindowEvent e) {

        }
    };


}
